﻿using System;
using System.Collections.Generic;
using System.Text;
using com.dz.ct.common;

namespace com.dz.ct.components
{
    public interface IBigSiteObject
    {
        /// <summary>
        /// 收集某个地址的所有小说详情地址
        /// </summary>
        /// <param name="i_book_list_url"></param>
        /// <returns>小说地址及小说名称</returns>
       List< BookInfo> CollectBookList(string i_book_list_url);

        /// <summary>
        /// 收集某本小说详细信息
        /// </summary>
        /// <param name="i_book_url"></param>
        /// <returns></returns>
        BookInfo CollectBookItem(string i_book_url);

        /// <summary>
        /// 收集某本书的所有章节
        /// </summary>
        /// <param name="i_chapter_list_url"></param>
        /// <returns></returns>
        List<BookChapterInfo> CollectChapterList(string i_chapter_list_url);

        /// <summary>
        /// 收集章节内容
        /// </summary>
        /// <param name="i_chapter_content_url"></param>
        /// <returns></returns>
        string CollectChapterContent(string i_chapter_content_url);

        /// <summary>
        /// 获取首页所有的书籍
        /// </summary>
        /// <param name="i_book_default_url"></param>
        /// <returns></returns>
        Dictionary<string, string> CollectDefaultBookList(string i_book_default_url);

        /// <summary>
        /// 收集小说评论
        /// </summary>
        /// <param name="i_comment_url"></param>
        /// <returns></returns>
        List<string> CollectReview(string i_comment_url);
    }
}
